Vue.filter('gender', function(value) {
  return value === 0 ? 'male' : 'female'
})